#!/bin/bash
system=$(uname)

  cp ./common.vimrc ~/.vimrc
  cp ./vundle.vimrc ~/.vundle.vimrc
  cat ./vimrc >> ~/.vimrc
  if [ "$system" != "Linux" ];then
    cp ./common.vimrc ~/.ideavimrc
    cat ./ideavimrc >> ~/.ideavimrc
    cp ~/.vimrc ~/_vimrc
    cat ./_vimrc >> ~/_vimrc
  fi
  vim common.vimrc
